package com.accp.vehiclecare.dao.syhdao;

import com.accp.vehiclecare.pojo.Repairbill;
import com.accp.vehiclecare.vo.syhvo.DetailedVo;
import com.accp.vehiclecare.vo.syhvo.RepairbillVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface RepairbillMapper {
    int deleteByPrimaryKey(Integer repairbillid);

    int insert(Repairbill record);

    int insertSelective(Repairbill record);

    Repairbill selectByPrimaryKey(Integer repairbillid);

    int updateByPrimaryKeySelective(Repairbill record);

    int updateByPrimaryKey(Repairbill record);

    List<RepairbillVO> selectRepairbill(@Param("zt") Integer zt);

    DetailedVo selectOne(@Param("id") Integer id);

    int updateZt(@Param("billNo") String billNo, @Param("zt") Integer zt,@Param("repairbilldates") Date repairbilldates);
}